<?php
Route::group([
	'prefix' => 'buy',
	'namespace' => 'Buy'
], function () {
	Route::group([
		'prefix' => 'buys',
	], function () {
		// 用户管理列表
		Route::get('/', 'BuysController@index')->name('admin.buy.buys');
		Route::get('/buyshen', 'BuysController@buyshen')->name('admin.buy.buyshen');
		// 添加用户
		Route::get('/add', 'BuysController@add')->name('admin.buy.buys.add');
		// 编辑用户
		Route::get('/edit/{id}', 'BuysController@edit')->name('admin.buy.buys.edit');
		// 保存用户信息
		Route::post('/save', 'BuysController@save')->name('admin.buy.buys.save');
		// 删除用户
		Route::get('/delete/{id}', 'BuysController@delete')->name('admin.buy.buys.delete');
		//审核店铺
        Route::get('/shen/{id}', 'BuysController@shen')->name('admin.buy.buys.shen');
        //审核店铺
        Route::post('/refund', 'BuysController@refund')->name('admin.buy.buys.refund');
	});
});